package com.skywolf.chem.manager.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.manager.entity.PushMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 消息推送表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-07-13
 */
@Mapper
public interface PushMessageMapper extends BaseMapper<PushMessage> {
    List<PushMessage> getPushPageListManager(@Param("startNum") Long startNum, @Param("endNum") Long endNum,
                                         @Param("articleTitle") String articleTitle,@Param("pushMsg")String pushMsg,@Param("pushTitle")String pushTitle,
                                         @Param("status") Integer status,@Param("startTime")String startTime,@Param("endTime")String endTime);

    Integer getPushPageCountManager(@Param("articleTitle") String articleTitle,@Param("pushMsg")String pushMsg,@Param("pushTitle")String pushTitle,
                                       @Param("status") Integer status,@Param("startTime")String startTime,@Param("endTime")String endTime);
}
